/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commands;

import IA.InformationAggregator;

/**
 *
 * @author Rob Leister rleist1@students.towson.edu
 */
public class CmdgetNumberOfTables extends Command {

    public CmdgetNumberOfTables(InformationAggregator ia) {
        super(ia);
    }

    @Override
    public Object execute() {

        return ia.getTableCollection().getTotalNumberOfTables();
    }
} // end class CmdGetNumberOfTables
